﻿using System;
using System.Web.Mvc;
using Nop.Web.Framework;

namespace Logistics.Web.Models.Order
{
    public class PackageModel
    {
        [NopResourceDisplayName("Logistics.Package.Fields.Id")]
        public int Id { get; set; }
        public int ShipmentId { get; set; }
        public int OrderId { get; set; }

        public DateTime CreatedTime { get; set; }
        public string CreatedTimeStr { get; set; }

        public DateTime? PickupTime { get; set; }
        public string PickupTimeStr { get; set; }

        public DateTime? DeliveryTime { get; set; }
        public string DeliveryTimeStr { get; set; }

        public string PackageMeasurement { get; set; }

        [AllowHtml]
        public string Reference { get; set; }

        public string Status { get; set; }

        public string TrackingNumber { get; set; }

        [NopResourceDisplayName("Logistics.Package.Fields.PickUpAddress")]
        public string PickUpAddress { get; set; }
        [NopResourceDisplayName("Logistics.Package.Fields.DeliveryAddress")]
        public string DeliveryAddress { get; set; }

        public string OrderBy { get; set; }
    }
}